package com.lagou.rpc.consumer.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "rpc")
public class RpcConfig {

    private String rpcIps;

    private String rpcPorts;

    public String getRpcIps() {
        return rpcIps;
    }

    public void setRpcIps(String rpcIps) {
        this.rpcIps = rpcIps;
    }

    public String getRpcPorts() {
        return rpcPorts;
    }

    public void setRpcPorts(String rpcPorts) {
        this.rpcPorts = rpcPorts;
    }
}
